﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Duck:Animal02,ISwim
    {
        public override void Eat()
        {
            Console.WriteLine("我在吃东西噢！！");
        }
        public void swim()
        {
            Console.WriteLine("我会游泳噢！！");
        }
    }
}
